#include"stdafx.h"
#include "sprites.h"

Sprites::Sprites(void)
{
}
Sprites::~Sprites(void)
{
}
void Sprites::SetSpr( BYTE num, BYTE data )
{
	int index = num / 4;
	int mod   = num % 4;
	this->RAM[index][mod] = data;
}

BYTE Sprites::GetSpr( BYTE num )
{
	int index = num / 4;
	int mod   = num % 4;
	return this->RAM[index][mod];
}
